body {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    background-image: url('../imgs/dahezhao2.png');
    background-repeat: no-repeat;
    background-size: cover; /* 确保背景图覆盖整个页面 */
    background-position: center center; /* 设置背景图居中 */
    background-size: 70% 100%;

}


#main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 80%;
    max-width: 800px; /* 可选：设置最大宽度 */
    padding: 20px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 2);
    border-radius: 8px;
    position: relative; /* 添加相对定位 */
    background-color: rgba(255, 255, 255, 0.7); /* 设置背景颜色为半透明白色 */

}

.title-area {
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
    font-family: 幼圆;
    color: red;
    font-size:45px;
    font-weight: bold;
}

.content-area {
    display: flex;
    justify-content: space-between;
    width: 100%;

}

.image-area {
    flex: 1;
    margin-right: 20px;
}
img{
    width: 250px;
    height: 300px;
}

#update-button {
    border-color: #cfc085;
    background-color: rgba(251, 2, 2, 0.7);
    color: aliceblue;
    border-style: hidden;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    position: absolute; /* 绝对定位 */
    bottom: 10px;
    right: 10px;


}

.form-section {
    flex: 2;
    display: flex;
    flex-direction: column;
    font-family: 幼圆;
    font-size: 20px;
    font-weight: bold;
    color: green;
}

.input-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* 使输入组均匀分布 */
    height: 100%;
}

.input-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;

}
.input-group label {
    text-align: right; /* 标签右对齐 */
    width: 100px; /* 设置标签宽度以对齐输入框 */
}
.input-group input {
    flex: 0.8;
    margin-left: 0; /* 输入框与标签之间的间距 */
}
